<?php
/* 
 * Copyright (c) 2018-2021   All rights reserved.
 * 
 * 创建时间：2021-11-06 10:14
 *
 * 项目：rm  -  $  - index.php
 *
 * 作者：liwei 
 */


?>
<style>
    .page-content .page-content-inner {max-width: 1200px !important;}
</style>


<div class="page tidUrl with-subnavbar mb_bbs same-history <?=\lev\base\Controllerv::$pageName?>" data-page="<?=\lev\base\Controllerv::$pageName?>">

    <div class="navbar navbar-bgcolor-red">
        <div class="navbar-inner">
            <?php Lev::navbar([], true)?>

            <?php if (!empty($subnavs)):?>
                <div class="subnavbar nav-links">
                    <div class="data-table">
                        <?php foreach ($subnavs as $v):?>
                            <a class="tab-link tabBtn_<?php echo $v['tabid']?> <?=$v['attr']?>" data-tab=".tab-<?php echo $v['tabid']?>" data-url="<?php echo $v['url']?>">
                                <?php echo $v['icon'],$v['name']?>
                            </a>
                        <?php endforeach;?>
                    </div>
                    <a class="moreIcon more-icon link icon-only button button-fill color-gray hiddenx">
                        <svg class="icon" aria-hidden="true"><use xlink:href="#fa-bars"></use></svg>
                    </a>
                </div>
            <?php endif;?>
        </div>

    </div>


    <div class="tabs-swipeable-wrap appbg">

        <div class="tabs mbTabsBox" data-tabId="<?php echo $deTabId?>">

            <?php foreach ($subnavs as $v):?>
                <?php is_file($file = __DIR__ .'/tabs/'.$v['tmp'].'.php') && include $file;?>
            <?php endforeach;?>

        </div>
    </div>

    <?php Lev::toolbar()?>

    <div class="LoadPageAjaxJS">
        <?=\lev\base\Assetsv::clipboardJs(1)?>
        <script>
            jQuery(function () {
                Levme.scrollLoad.init();
                Levme.tabs.tabShow.init('<?php echo $deTabId?>');
            });
        </script>
    </div>
</div>

